function sendMsg(msg) {
  window.external.SendRequest(msg, function(response) {
    element = document.getElementById('echo');
    element.innerHTML = response;
  });
};


function goToPage1() {
  document.location.href = 'page1.html';
};


function closePopup() {
  window.close();
};


/*
function get_root() {
    alert(window.external.GetRoot());
};

function get_cookie() {
    alert(window.external.GetCookie("http://www.utest.com"));
};
*/